package org.will.aop;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class TransactionManager {

    public void begin(){
        log.info("开启事务");
    }

    public void commit(){
        log.info("提交事务");
    }

    public void rollback(){
        log.info("回滚");
    }

}
